package vv.lines.core.context;

import vv.lines.view.ViewFactory;

/**
 * @author vpotapenko
 */
public abstract class ContextHolder {

    private IContext context;

    protected ContextHolder(IContext context) {
        this.context = context;
    }

    public IContext getContext() {
        return context;
    }

    protected ViewFactory getViewFactory() {
        return context.getViewFactory();
    }
}
